<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Home extends CI_Controller {

	public function __construct(){
		parent::__construct();

		// load helper
		$this->load->helper('url');
		$this->load->library('session');
	}	

	public function index(){

        $data['mainView'] = 'index';
        $data['controllerName'] = 'home';
        $this->load->view('layouts/layout', $data);
	}

	public function test(){

        
        $data['test'] = 'test';
        $this->load->view('home/test', $data);
	}	
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */